package com.ruoyi.yljf.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BasePlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 分类管理对象 yljf_classify
 * 
 * @author metaee
 * @date 2025-02-24
 */
@Data
@TableName(value = "yljf_classify")
public class Classify implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Long  id;

    /** 分类名 */
    @Excel(name = "分类名")
    private String name;

    /** 父id（0为父分类） */
    @Excel(name = "父id", readConverterExp = "0=为父分类")
    private Long parentId;

}
